<template>
    <div class="container">

        <div class="body_wrap">
            <el-card class="body_card" shadow="hover" ref="content_card">
                <div class="header_back_wrap">
                    <el-page-header @back="$router.back(-1)" :content="$route.meta.title" class="headerBack"></el-page-header>
                    <el-divider></el-divider>
                </div>

                <div class="form_content">
                    <div class="table_form_wrap">
                        <el-form ref="form" :model="form" :rules="rules" @keyup.enter.native="handleSubmit()" label-width="120px">
                            <el-row>
                                <el-col :span="12">
                                    <el-form-item label="酒店编号" prop="sn">
                                        <el-input placeholder="酒店编号" v-model="form.sn" clearable></el-input>
                                    </el-form-item>
                                </el-col>
                                <el-col :span="12">
                                    <el-form-item label="酒店编号" prop="aa">
                                        <el-input placeholder="酒店编号" v-model="form.aa" clearable></el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-form-item label="酒店编号" prop="bb">
                                <el-input placeholder="酒店编号" v-model="form.bb" clearable></el-input>
                            </el-form-item>
                            <el-form-item label="酒店编号" prop="cc">
                                <el-input placeholder="酒店编号" v-model="form.cc" clearable></el-input>
                            </el-form-item>

                        </el-form>
                    </div>
                </div>

                <div class="foot_submit">
                    <el-button @click="$router.back(-1)">返 回</el-button>
                    <el-button @click="handleSubmit" type="primary" :loading="loading">提 交</el-button>
                </div>

            </el-card>
        </div>



    </div>
</template>

<script>
    export default {
        data() {
            return {
                loading: false,
                form: {
                    id: null,
                    sn: null,
                    aa: null,
                    bb: null,
                    cc: null,
                },
                rules: {

                }
            }
        },

        methods: {
            handleSubmit() {
                this.loading = true

                this.loading = false
            },


            /**
             * 详细信息
             */
            getInfo(id) {
                // if (id) {
                //     return this.$http({
                //         url: '',
                //         method: 'GET'
                //     }).then(res => {
                //         if (this.ResultMessage(res, false)) {
                //             return res
                //         } else {
                //             this.$notify({ title: '错误', message: error, type: 'error' });
                //         }
                //     }).catch(error => {
                //         this.$notify({ title: '错误', message: error, type: 'error' });
                //     })
                // }
            },
        }
    }
</script>

<style lang="scss" scoped>



</style>
